package net.togogo.bean;

import java.io.Serializable;
import java.util.Date;

public class EProductWithBLOBs extends EProduct implements Serializable {
    private String description;

    private String packageList;

    private static final long serialVersionUID = 1L;

    public EProductWithBLOBs(Integer id, String no, String name, Double weight, Boolean isNew, Boolean isHot, Boolean isCommend, Date createTime, String createUserId, Date checkTime, String checkUserId, Boolean isShow, Boolean isDel, Integer typeId, Integer brandId, String keywords, Integer sales, String feature, String color, String size, String description, String packageList) {
        super(id, no, name, weight, isNew, isHot, isCommend, createTime, createUserId, checkTime, checkUserId, isShow, isDel, typeId, brandId, keywords, sales, feature, color, size);
        this.description = description;
        this.packageList = packageList;
    }

    public EProductWithBLOBs() {
        super();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPackageList() {
        return packageList;
    }

    public void setPackageList(String packageList) {
        this.packageList = packageList == null ? null : packageList.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", description=").append(description);
        sb.append(", packageList=").append(packageList);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}